import startApp, { appEvent } from '../src/app';
import { sleep } from '../src/util/tools';
import Config from '../src/config.dev';
import { redisClient } from '../src/util/redis';
let startCount = 0;
export let onStart = async () => {
	startCount++;
	console.log('\n** before test **', startCount, process.pid);
	await sleep(10);
};

export let onFinish = async () => {
	console.log('\n** after test **');
};
